﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJSHWebApi.DBModel
{
    [Table("AirShowerDoor")]
    public class AirShowerDoor_Entity:BaseDbmodel
    {

        [Key]

        public int Id { get; set; }
        public int DevID { get; set; }
        public String Remark { get; set; }
        /// <summary>
        /// IO模块编号
        /// </summary>
        public int ModelID { get; set; }
        /// <summary>
        /// 开门信号点位
        /// </summary>
        public int OpenPointL { get; set; }
        /// <summary>
        /// 关门信号点位
        /// </summary>
        public int ClosePointL { get; set; }

        /// <summary>
        /// 开门信号点位
        /// </summary>
        public int OpenPointR { get; set; }
        /// <summary>
        /// 关门信号点位
        /// </summary>
        public int ClosePointR { get; set; }

        public int Station { get; set; }
        public int StationL { get; set; }
        public int StationR { get; set; }
        public bool Available { get; set; }
        public AirShowerDoor_Entity Clone()
        {
            AirShowerDoor_Entity t = new AirShowerDoor_Entity()
            {
                Id = this.Id,
         DevID=this.DevID,
        Remark=this.Remark,
    
         ModelID=this.ModelID,
       
        OpenPointL=this.OpenPointL,
      
        ClosePointL=this.ClosePointL,

     
        OpenPointR=this.OpenPointR,
     
        ClosePointR=this.ClosePointR,

        Station=this.Station,
        StationL=this.StationL,
        StationR=this.StationR,
                Available=  this.Available,
            };
            return t;
        }
    }
}
